/*
 * Huawei HiNIC PCI Express Linux driver
 * Copyright(c) 2017 Huawei Technologies Co., Ltd
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms and conditions of the GNU General Public License,
 * version 2, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * for more details.
 *
 */
#ifndef HINIC3_XFRM_H
#define HINIC3_XFRM_H

#ifdef CONFIG_XFRM_OFFLOAD
int hinic3_add_xfrm_dev_sa(struct xfrm_state *xs);
void hinic3_del_xfrm_dev_sa(struct xfrm_state *xs);
void hinic3_free_xfrm_dev_sa(struct xfrm_state *xs);
int hinic3_add_xfrm_dev_sp(struct xfrm_policy *xp);
void hinic3_del_xfrm_dev_sp(struct xfrm_policy *xp);
#endif

#endif /* _HINIC3_XFRM_H_ */
